package com.circle.model.util;

import com.circle.model.module.ConfigData;

public class ConfigDataFactory {
    // 私有静态实例
    private static volatile ConfigData instance;

    public static ConfigData getInstance() {
        ConfigData configData = new ConfigData();
        if (instance == null) {
            synchronized (ConfigDataFactory.class) {
                if (instance == null) {
                    instance = new ConfigData();
                }
            }
        }
        return instance;
    }
}
